package com.lenway.requestpermission.core

import android.os.Handler
import android.os.Looper

/**
 * Utils class
 *
 * @author lenway
 * @date 2023/12/22
 */

/**
 * 权限请求结果的回调
 */
internal typealias PermissionResultInterface = (permissionResult: PermissionResult) -> Unit

/**
 * 用来post函数
 */
internal val mainThreadHandler by lazy {
    Handler(Looper.getMainLooper())
}